package cn.zyq.ykb.beans.tk;

import cn.zyq.ykb.system.common.BaseBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 用户对象 tuser
 *
 * @author SystemAuth
 * @date 2023-07-03
 */
@Data
@Entity
@Table(name = "`tUser`")
public class TUser extends BaseBean implements Serializable {
    /**
     * 主键id，用于关联
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY, generator = "JDBC")
    @Column(name = "`tUserID`")
    @ApiModelProperty("主键id，用于关联")
    private Integer tUserID;
    /**
     * 昵称
     */
    @Column(name = "`nickName`")
    @ApiModelProperty("昵称")
    private String nickName;
    /**
     * 手机号
     */
    @Column(name = "`phone`")
    @ApiModelProperty("手机号")
    private String phone;
    /**
     * 登录凭证
     */
    @Column(name = "`token`")
    @ApiModelProperty("登录凭证")
    private String token;
    /**
     * 密码
     */
    @Column(name = "`password`")
    @ApiModelProperty("密码")
    private String password;
    /**
     * 密码
     */
    @Column(name = "`avatar`")
    @ApiModelProperty("头像")
    private String avatar;
    /**
     * 密码
     */
    @Column(name = "`signature`")
    @ApiModelProperty("签名")
    private String signature;

}
